﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JTZY.Model.Opdata.Dto
{

    public class SaleTotalByTimeTypeModel
    {
        public decimal profitAmount { get; set; }

        public decimal sellAmount { get; set; }

        public string time { get; set; }

    }

    public class SaleTotalByItemTypeModel
    {
        /// <summary>
        /// 代销商品
        /// </summary>
        public decimal agencyCosts { get; set; } = 0M;
        public decimal agencyProfits { get; set; } = 0M;
        public decimal agencySales { get; set; } = 0M;
        /// <summary>
        /// 自营商品
        /// </summary>
        public decimal selfCosts { get; set; } = 0M;
        public decimal selfProfits { get; set; } = 0M;
        public decimal selfSales { get; set; } = 0M;
        /// <summary>
        /// 商品总销售统计
        /// </summary>
        public decimal totalCosts { get; set; } = 0M;
        public decimal totalProfits { get; set; } = 0M;
        public decimal totalSales { get; set; } = 0M;
    }
}
